package com.yimi.policyservice.dao.system;

import com.github.pagehelper.Page;
import com.yimi.policyservice.dto.user.UserDto;
import com.yimi.policyservice.utils.Annotation.MyBatisRepository;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MyBatisRepository
public interface SysUserMapperCustom {
    Page<UserDto> search(@Param("roleIds") List<String> roleIds, @Param("deptId")String deptId, @Param("name")String name);

    UserDto findOne(@Param("id") String id);

    List<UserDto> findAll();
}
